﻿<!--//
////////////////////////////////////////////////////////////////////////////////
//
//  Created by Fernando Cerqueira
//  Copyright (c) 2011.  All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////
//-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title></title>
    <link rel="stylesheet" href="styles/gadget.css" />
    <script src="scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.quickflip.min.js" type="text/javascript"></script>
    <script src="scripts/gadget.js" type="text/javascript"></script>
    <script src="scripts/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        $().ready(function () {
            $("#imgw8").click(function () {
                changeMenu("7",false);
            });
            $("#imgw7").click(function () {
                changeMenu("8", false);
            });
            $("#imgkeyb").click(function () {
                System.Gadget.Flyout.show = !System.Gadget.Flyout.show;
            });
            $(window).unload(function () {
                if (FindWin8StarMenuKey) {
                    //prevent start Windows without the 8 metro style
                    if (preserveShutDown == "checked") {
                        WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RPEnabled", 1, "REG_DWORD");
                    }
                }
            });
            startup();
        });
</script>
</head>
<body>
    <div id="flipbox">
        <div id="divWin8" class="divWinHide">
            <table>
                <tr>
                    <td title="Change Start menu to Style Windows 7">
                        <img id="imgw8" alt="" src="Images/opcw8.png" class="ImgWin" title="Change Start menu to Style Windows 7" />
                    </td>
                    <td class="CenterCell">
                        <img id="imgkeyb" alt="" class="ImgWinkb" src="images/win8keyboard.png" title="Show/Hide Windows 8 Keyboard Shortcuts" />
                        <span class="wintext"><br />Windows 8 Style</span>
                    </td>
                </tr>
            </table>
        </div>
        <div id="divWin7" class="divWinHide">
            <table>
                <tr>
                    <td title="Change Start menu to Style Windows 8">
                        <img alt="" id="imgw7" src="Images/opcw7.png" class="ImgWin" title="Change Start menu to Style Windows 8" />
                    </td>
                    <td class="CenterCell">
                        <span class="wintext">Windows 7 Style</span>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>
